Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> img { opacity: 0.4; filter: alpha(opacity=40); /* For IE8 and earlier */ } </style> </head> <body> <h1>Image Transparency</h1> <img src="klematis.jpg" width="150" height="113" alt="klematis"> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_image_opacity by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:33:16 GMT --> </html>
Result:
Try it Yourself - © w3schools.com